﻿using Airborne.ScrumPoker.Communication;

namespace Airborne.ScrumPoker.Module.Client.Model
{
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "3.0.0.0")]
    public partial class ScrumPokerClient : System.ServiceModel.DuplexClientBase<IScrumPokerClient>, IScrumPokerClient
    {

        public ScrumPokerClient(System.ServiceModel.InstanceContext callbackInstance) :
            base(callbackInstance)
        {
        }

        public ScrumPokerClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName) :
            base(callbackInstance, endpointConfigurationName)
        {
        }

        public ScrumPokerClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress) :
            base(callbackInstance, endpointConfigurationName, remoteAddress)
        {
        }

        public ScrumPokerClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
            base(callbackInstance, endpointConfigurationName, remoteAddress)
        {
        }

        public ScrumPokerClient(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
            base(callbackInstance, binding, remoteAddress)
        {
        }

        public bool Subscribe(string developerName)
        {
            return base.Channel.Subscribe(developerName);
        }

        public void Unsubscribe()
        {
            base.Channel.Unsubscribe();
        }

        public void Vote(double cardValue)
        {
            base.Channel.Vote(cardValue);
        }
    }
}
